home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: netcom.com!bnelson
- From: bnelson@netcom.com (Bob Nelson)
- Subject: Re: Unix/C question
- Message-ID: <bnelsonDpKt5x.As2@netcom.com>
- Organization: a computer running Linux
- X-Newsreader: TIN [version 1.2 PL2]
- References: <4k7kvf$gf4@news.one.net>
- Date: Tue, 9 Apr 1996 03:46:45 GMT
- Sender: bnelson@netcom21.netcom.com
-
- On 7 Apr 1996 05:48:31 GMT, Adam Ierymenko wrote:
- >> The manual page of the send() function call does not clearly say what the
- >> call does when you attempt to send on a non-blocking inet socket and there
- >> is "room" to send on the socket for some, but not all, of your data.
- >> Like if you try to send 2048 bytes on a socket where there is room to send
- >> 1024 bytes, does send() send the first 1024 and return the number of bytes
- >> it actually sent (1024), or does it just return -1 and EWOULDBLOCK?
- >> BTW, my OS is Linux, but I am trying to write something portable. Please
- >> reply by mail since I usually don't read this group.
-
- Who cares about your "operating system"? This is a C language group. If you
- want to discuss sockets, EWOULDBLOCK, your "operating system" and
- non-Standard functions such as send(), post to the correct newsgroup. By
- the way, you need not inform us that "you don't usually read this group."
- The content of your post already has already verified that.
-
- --
- =============================================================================
- Bob Nelson: Dallas, Texas, U.S.A. - bnelson@netcom.com
- Linux for fun, M$ for $$$...and the NFL for what really counts!
- =============================================================================
-
-